<template>
  <div class="LoginStyle">
    <div class="title">登录组件</div>
    <div class="content">
      <el-form :model="datas" label-width="120px" label-position="left">
        <el-form-item label="提示文本">
          <el-input v-model="datas.text" />
        </el-form-item>
        <el-form-item label="按钮名称">
          <el-input v-model="datas.btnText" />
        </el-form-item>
      </el-form>
    </div>

    <SelectTreeTable @radio="onRadio" ref="selectTreeTableRef" />
  </div>
</template>

<script lang="ts" setup name="LoginStyle">
import { toRefs } from "vue";

const props = defineProps({
  datas: {
    type: Object
  }
});
const { datas } = toRefs(props);
</script>

<style scoped lang="scss">
.content {
  margin-top: 20px;
}
</style>
